<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"	%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type"
			content="text/html; charset=ISO-8859-1">
		<title>HSQLDB</title>

		<style type="text/css">
	
* {
	padding:0;
	margin:0;
	font-size:12px;
	font-family:Georgia, "Times New Roman", Times, serif;
}
.msg{

	width:100%;
	border-collapse:collapse;
	color:#03F;
	text-align:center;

}

.msg th {
	background-color:#333333;
	color:#FFF;
	font-size:15px;

}
.msg td {
	border:1px solid #CCC;
	background-color:#EEEEEE;
	font-size:12px;
	word-break:break-all;
	
}




	
	
	</style>



	</head>
	<body>



		<table class="msg">

			<tr>
				<c:forEach var="head" items="${actionBean.headList}">
					<th>
						${head}
					</th>
				</c:forEach>

			</tr>


			<c:forEach var="map" items="${actionBean.resultList}">

				<tr>

					<c:forEach var="headKey" items="${actionBean.headList}">
						<td>
							<c:out value="${map[headKey]}" />
						</td>
					</c:forEach>

				</tr>



			</c:forEach>






		</table>




	</body>
</html>
